package rlyy.framework.core.common.exception;

import rlyy.framework.core.common.enums.ExceptionEnum;

/**
 * @author : shibixiao
 * @description : 业务异常
 * @date : 2020-04-24 14:44
 **/
public class BusinessException extends BaseRuntimeException {

    private static final long serialVersionUID = -2714347366484150020L;

    public BusinessException(){
        super();
    }

    public BusinessException(String msg){
        super(msg);
    }
    public BusinessException(ExceptionEnum msg){
        super(msg);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
